Skip to content

Conversation

@NaimSantos
Copy link
Contributor

@NaimSantos NaimSantos commented Apr 27, 2025

The following files are possible scripts where Duel.SelectMatchingCard or Duel.SelectTarget are called without Duel.Hint appearing in the line immediately before them, leaving the player without a description during the selection. Might include false positives:

  • official\c11082056.lua with possible problem around line(s): 43
  • official\c12292422.lua with possible problem around line(s): 41
  • official\c14785765.lua with possible problem around line(s): 29, 32
  • official\c18478530.lua with possible problem around line(s): 51
  • official\c1906812.lua with possible problem around line(s): 88
  • official\c19307353.lua with possible problem around line(s): 47
  • official\c21147203.lua with possible problem around line(s): 71
  • official\c23020408.lua with possible problem around line(s): 41
  • official\c23912837.lua with possible problem around line(s): 81, 88 (Also needs string updates in the cbd.)
  • official\c24096228.lua with possible problem around line(s): 60, 62
  • official\c26495087.lua with possible problem around line(s): 33, 34
  • official\c28126717.lua with possible problem around line(s): 72
  • official\c28534130.lua with possible problem around line(s): 44
  • official\c29107423.lua with possible problem around line(s): 50, 78 (Also needs string updates in the cbd.)
  • official\c29354228.lua with possible problem around line(s): 62 (Also needs string updates in the cbd.)
  • official\c30114823.lua with possible problem around line(s): 84 (Also needs string updates in the cbd.)
  • official\c33760966.lua with possible problem around line(s): 66
  • official\c33981008.lua with possible problem around line(s): 79
  • official\c34460239.lua with possible problem around line(s): 37
  • official\c36099130.lua with possible problem around line(s): 47
  • official\c36224040.lua with possible problem around line(s): 75
  • official\c3715284.lua with possible problem around line(s): 58
  • official\c37491810.lua with possible problem around line(s): 87
  • official\c37750912.lua with possible problem around line(s): 62 (Also needs string updates in the cbd.)
  • official\c3792766.lua with possible problem around line(s): 34 (Also needs string updates in the cbd.)
  • official\c38694052.lua with possible problem around line(s): 66
  • official\c41373230.lua with possible problem around line(s): 105 (Also needs string updates in the cbd.)
  • official\c48032131.lua with possible problem around line(s): 89
  • official\c48048590.lua with possible problem around line(s): 100
  • official\c50793215.lua with possible problem around line(s): 57 (Also needs string updates in the cbd.)
  • official\c51782995.lua with possible problem around line(s): 53 (Also needs string updates in the cbd.)
  • official\c52331012.lua with possible problem around line(s): 49 (Also needs string updates in the cbd.)
  • official\c53417695.lua with possible problem around line(s): 43
  • official\c55051920.lua with possible problem around line(s): 45, 51
  • official\c56980148.lua with possible problem around line(s): 68
  • official\c60375194.lua with possible problem around line(s): 31 (Also needs string updates in the cbd.)
  • official\c61245672.lua with possible problem around line(s): 54
  • official\c63845230.lua with possible problem around line(s): 74, 86
  • official\c66380357.lua with possible problem around line(s): 45 (Also needs string updates in the cbd.)
  • official\c66809920.lua with possible problem around line(s): 67
  • official\c67647362.lua with possible problem around line(s): 45
  • official\c69217334.lua with possible problem around line(s): 101 (Also needs string updates in the cbd.)
  • official\c69809989.lua with possible problem around line(s): 47
  • official\c70252926.lua with possible problem around line(s): 90
  • official\c70369116.lua with possible problem around line(s): 63
  • official\c72272462.lua with possible problem around line(s): 80 (Also needs string updates in the cbd.)
  • official\c72332074.lua with possible problem around line(s): 76 (Also needs string updates in the cbd.)
  • official\c72498838.lua with possible problem around line(s): 79 (Also needs string updates in the cbd.)
  • official\c77297908.lua with possible problem around line(s): 48
  • official\c78199891.lua with possible problem around line(s): 48
  • official\c81945678.lua with possible problem around line(s): 49
  • official\c84271823.lua with possible problem around line(s): 80, 82
  • official\c84482694.lua with possible problem around line(s): 55 (Also needs string updates in the cbd.)
  • official\c84813516.lua with possible problem around line(s): 82
  • official\c85555787.lua with possible problem around line(s): 37
  • official\c85590798.lua with possible problem around line(s): 62
  • official\c87074380.lua with possible problem around line(s): 52 (Also needs string updates in the cbd.)
  • official\c8837932.lua with possible problem around line(s): 50
  • official\c91392974.lua with possible problem around line(s): 43
  • official\c91742238.lua with possible problem around line(s): 46 (Also needs string updates in the cbd.)
  • official\c9482987.lua with possible problem around line(s): 46 (Also needs string updates in the cbd.)
  • official\c98452268.lua with possible problem around line(s): 82

NaimSantos and others added 30 commits April 27, 2025 07:26
It was making the player select the zones during the activation, not during the resolution
- Added missing hint messages.
- Shouldn't be able to use its effect if you don't have a Plant to place on top of the Deck.
- Added missing summon category and opinfo.
- Shouldn't be able to Normal Summon if you don't successfully add a card to the hand and place a Plant on top of the Deck.
- Highlight only after checking that a card was selected
- Placing on the bottom of the Deck and drawing are simultaneous in the OCG
Use Cost.AND for the shared restriction cost
- Missing target flag
- Check that re is a Spell effect rather than the card being a Spell
- Should also check face-up for other "Valkyrie" monsters
- ATK change should reset on negate and be negatable
- Missing chkc handling
- Missing draw opinfo
- Missing possible opinfos
- Added more hint timings
- Can't use a 2nd Orcustrated Core to apply the effect on a card that already has the effect applied to it
- Use a table for checking multiple archetypes
pyrQ added 26 commits May 5, 2025 01:32
- Use "Card.IsCanBeEffectTarget"
- The "Unchained" monster also needs to be face-up
- Use "Card.NegateEffects" and "aux.DelayedOperation"
Simplify the resolution check and the destroy register logic a bit
- Missing category
- Strings
- Show a card on resolution, not on activation
- Check that the target is still face-up on resolution
- Modern "activate 1 of these effects" implementation
Simplifications
General modernisation + hint on the summoned monsters
- CATEGORY_LVCHANGE
- lvtg
- Should activate even if she's already Level 12 or higher
- Yes/No string
- Missing space after "return"
The ATK change itself should be unnegatable
- Check that at least 1 card ended up in the Main or Extra Deck
- Check for an available zone to summon from the Extra Deck
- Filter name typo
- Cannot disable equip limit
Shouldn't be able to copy it with another effect
- Shouldn't be able to use its 1st effect if damage calculation isn't conducted
- The destroy effect should resolve doing nothing if this card has already left the field when it resolves
- Shouldn't roll a die if the target has already left the GY when it resolves
- Check for zones in the target function if the cost is skipped
- Apply the restriction on res only if it's a card activation
Place the revealed card on the bottom of the owner's Deck
- Use "Card.AddMustBeSpecialSummonedByCardEffect"
- Should check for the destroyed card's name on the field rather than after it's destroyed
CATEGORY_DEFCHANGE + SET_HERO
- Missing ">0" when checking for available zones with "Duel.GetMZoneCount"
- Wrong string id in e2
- Missing CATEGORY_TODECK category and opinfo
- Also check for forbidden status and unique on field for the card to equip
Use "Card.IsCanBeXyzMaterial" when attaching from the Pendulum Zone
@pyrQ pyrQ marked this pull request as ready for review May 11, 2025 18:46
@pyrQ pyrQ merged commit 9e1f8e7 into master May 11, 2025
1 check passed
@pyrQ pyrQ deleted the missinghintmessages branch May 11, 2025 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants